<?php if (!defined('BASEPATH')) exit('No direct script access allowed'); ?>
<?php 
	$ci = & get_instance(); 
	$tournament_id = $this->input->post('tournament_id',TRUE);
	$category_id = $this->input->post('category_id',TRUE);
	
	$EVENT_CATEGORY = $ci->event_category_tournament_entity->init('id',$category_id);	
	$TOURNAMENT = $ci->tournament_entity->init('id',$tournament_id);
	$uid = time();
?>

<div id="wrap_<?php echo $uid;?>" style="border-top:1px solid #333333;border-bottom:1px solid #333333;" >
	<div class="grid2"><span class="bold">Event Category:</span></div>
	<div class="grid6"><?php echo $EVENT_CATEGORY->getCategory(); ?></div>	
	<div class="clrboth"></div>
	
	<div class="grid2"><span class="bold">*Event Name:</span></div>
	<div class="grid6"><input type="text" maxlength="255" name="name[]" value="" class="std-input"/></div>
	<div class="clrboth"></div>
	
	<div class="grid2"><span class="bold">*Odds:</span></div>
	<div class="grid6"><input type="text" maxlength="25" name="odds[]" value="" class="std-input"/></div>
	<div class="clrboth"></div>

	<div class="grid2">&nbsp;</div>
	<div class="grid6">
		<input type="button" class="button no-uniform" value="Remove?" onclick="return remove_event(<?php echo $uid;?>);"/> 
	</div>
	<div class="clrboth"></div>
</div>	
